package com.yuanchu.store.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.PropertyNamingStrategy;
import com.fasterxml.jackson.databind.annotation.JsonNaming;
import lombok.Data;

import java.io.Serializable;

/**
 * 商家(商户)记录表
 * 
 * @author adan
 * @email 2028038953@gmail.com
 * @date 2023-12-19 20:57:21
 */
@JsonNaming(PropertyNamingStrategy.SnakeCaseStrategy.class)
@Data
@TableName("yoshop_store")
public class YoshopStoreEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 商城ID
	 */
	@TableId
	private Integer storeId;
	/**
	 * 商城名称
	 */
	private String storeName;
	/**
	 * 商城简介
	 */
	@TableField("`describe`")
	private String describe;
	/**
	 * 商城logo文件ID
	 */
	@JsonProperty("logoImageId")
	private Integer logoImageId;
	/**
	 * 排序(数字越小越靠前)
	 */
	private Integer sort;
	/**
	 * 是否回收
	 */
	private Integer isRecycle;
	/**
	 * 是否删除
	 */
	private Integer isDelete;
	/**
	 * 创建时间
	 */
	private String createTime;
	/**
	 * 更新时间
	 */
	private String updateTime;

	@TableField(exist = false)
	private String image_url;


	/**
	 * logo图片信息
	 */
	@TableField(exist = false)
	@JsonProperty("logoImage")
	private YoshopUploadFileEntity logoImage;


}
